Replication materials for Locked Down, Lashing Out: COVID-19 Effects on Asian Hate Crimes in Italy


./data contains the data used in the article
Codebook describes the variables in the data
./code contains the code to replicate the figures and tables in the article
./output contains regression model outputs which are inputs to the tables and figures in the article (READ NEXT PARAGRAPH)

PLEASE READ --- on computation restrictions: some models in our paper run for more than 3 hrs on a MacBook Pro 2.5 GHz Dual-Core Intel Core i7, 16 GB, or required High Performance Computing with maximum 150GB memory. When that is the case, we include also the regression outputs in ./outputs that could be directly used to produce figures and tables in the paper. In ./code, we include two types of files: figureX.R (tableX.R) that take the regression output to produce figure X (table X), and figureXreg.R (tableXreg.R) that produces the regression output. We suggest the user to run only files of the type figureX.R (tableX.R). 

SOFTWARE:
R version 4.0.3 (2020-10-10) -- "Bunny-Wunnies Freak Out"
Stata version 15

DESCRIPTION OF FILES IN ./code
Relationship between figures/tables in article/appendix and code to reproduce them:
In paper:
Figure 1: figure1.R
Figure 2: figure2.R produces figure, figure2areg.R and figure2breg.R produces output used in figure2.R
Figure 3: figure3.R produces figure, figure3reg.R produces output used in figure3.R
Figure 4: figure4.R

Table 1: table1.R produces panel A and B of table, table1areg.R produces output used in panel A and table1breg.R produces output used in panel B

In appendix:
Figure A1: figureA1_A2.R
Figure A2: figureA1_A2.R
Figure B1: figureB1.do
Figure B2: figureB2.do
Figure B3: figureB3.R
Figure B4: figureB4_B5_B6_B7_B10.R
Figure B5: figureB4_B5_B6_B7_B10.R
Figure B6: figureB4_B5_B6_B7_B10.R
Figure B7: figureB4_B5_B6_B7_B10.R
Figure B8: figureB8.R, produces figure, figure2areg.R and figure2breg.R produces output used in figureB8.R
Figure B9: figureB9.R
Figure B10: figureB4_B5_B6_B7_B10.R
Figure B11: figureB11.R
Figure B12: figureB12.R
Figure C1: figureC1_C2.R
Figure C2: figureC1_C2.R
Figure C3: figureC3.R produces figure, figureC3reg.R produces output used in figureC3.R
Figure D1: figureD1.R produces figure, figureD1reg.R produces output used in figureD1.R
Figure D2: figureD2.R produces figure, figureD2reg.R produces output used in figureD2.R
Figure F1: figureF1.R produces figure, figureF1reg.R produces output used in figureF1.R
Figure G1: figureG1.R
Figure I1: figureI.do
Figure I2: figureI.do
Figure J1: figureJ1_J2.R
Figure J2: figureJ1_J2.R
Figure K1: figureK1.R

Table B2: table_B2_B3_B4.R
Table B3: table_B2_B3_B4.R
Table B4: table_B2_B3_B4.R
Table B5: tableB5.R produces table, tableB5reg.R produces output used in table
Table C1: tableC1.R produces panel A and B of table, tableC1areg.R produces output used in panel A and tableC1breg.R produces output used in panel B
Table D1: tableD1.R produces table, tableD1reg.R produces output used in tableD1.R
Table D2: tableD2.R produces table, tableD2reg.R produces output used in tableD2.R
Table D3: tableD3.R produces table, tableD3reg.R produces output used in tableD3.R
Table D4: tableD4.R produces table, tableD4areg.R produces p-values for row 1 in table, tableD4breg.R produces p-values for row 2 in table
Table D5: tableD5.do
Table E1: tableE1.do
Table H1: tableH1_H2.R produces table, tableH1reg.R produces output used in table H1 in tableH1_H2.R
Table H2: tableH1_H2.R produces table, tableH2reg.R produces output used in table H2 in tableH1_H2.R
Table H3: tableH3.do 
Table I1: tableI1.do
Table I2: tableI2_I3 produces table, tableI2reg.R produces output used in table I2 in tableI2_I3.R
Table I3: tableI2_I3 produces table, tableI3reg.R produces output used in table I3 in tableI2_I3.R

